package com.tsinghua.discharge.dao;

import com.tsinghua.discharge.model.ThuMapping;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ThuMappingMapper {
    int deleteByPrimaryKey(Integer thuMapId);

    int insert(ThuMapping record);

    int insertSelective(ThuMapping record);

    ThuMapping selectByPrimaryKey(Integer thuMapId);

    int updateByPrimaryKeySelective(ThuMapping record);

    int updateByPrimaryKey(ThuMapping record);
    int selectRepeat(ThuMapping record);
    int selectId(ThuMapping record);
    int deleteBySupsectorAndUser(@Param( "sector") String sector,@Param("userId") Integer userId);
   int selectRepeatelc (ThuMapping record);
}